package com.lm.model;

/**
 * LmProduct entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	private int id;

	private String productNo;

	private Double price;

	private int typeId;

	private int brandId;

	private int isSelect;

	private int specUserId;

	private Double lowPrice;

	private String picUrl;

	private String picName;

	private int hit;

	private int isConfirm;

	// Constructors

	/** default constructor */
	public Product() {
	}

	/** minimal constructor */
	public Product(Double price, int typeId, int brandId, int isSelect,
			int specUserId, Double lowPrice, String picName, int hit, int isConfirm) {
		this.price = price;
		this.typeId = typeId;
		this.brandId = brandId;
		this.isSelect = isSelect;
		this.specUserId = specUserId;
		this.lowPrice = lowPrice;
		this.picName = picName;
		this.hit = hit;
		this.isConfirm = isConfirm;
	}

	/** full constructor */
	public Product(String productNo, Double price, int typeId, int brandId,
			int isSelect, int specUserId, Double lowPrice, String picUrl, String picName,
			int hit, int isConfirm) {
		this.productNo = productNo;
		this.price = price;
		this.typeId = typeId;
		this.brandId = brandId;
		this.isSelect = isSelect;
		this.specUserId = specUserId;
		this.lowPrice = lowPrice;
		this.picUrl = picUrl;
		this.picName = picName;
		this.hit = hit;
		this.isConfirm = isConfirm;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProductNo() {
		return this.productNo;
	}

	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public int getTypeId() {
		return this.typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public int getBrandId() {
		return this.brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public int getIsSelect() {
		return this.isSelect;
	}

	public void setIsSelect(int isSelect) {
		this.isSelect = isSelect;
	}

	public int getSpecUserId() {
		return this.specUserId;
	}

	public void setSpecUserId(int specUserId) {
		this.specUserId = specUserId;
	}

	public Double getLowPrice() {
		return this.lowPrice;
	}

	public void setLowPrice(Double lowPrice) {
		this.lowPrice = lowPrice;
	}

	public String getPicUrl() {
		return this.picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getPicName() {
		return this.picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public int getHit() {
		return this.hit;
	}

	public void setHit(int hit) {
		this.hit = hit;
	}

	public int getIsConfirm() {
		return this.isConfirm;
	}

	public void setIsConfirm(int isConfirm) {
		this.isConfirm = isConfirm;
	}

}